package com.pay.model;

/**
 * 应用新新
 * Created by chenweiyi on 2018/1/30.
 */
public class App {

    /**
     * 主键
     */
    private Integer id;

    /**
     * appid
     */
    private String appid;

    /**
     * 密钥
     */
    private String secretKey;

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 应用类型
     */
    private String appType;

    /**
     * 收益
     */
    private Float profit;

    /**
     * 抽成
     */
    private Float cut;

    /**
     * 所属用户
     */
    private Integer userId;


    /**
     * --------------下面为非表字段----------------------------------------
     */

    /**
     * 商户状态
     */
    private String userStatus;

    /**
     * 商户id
     */
    private Integer mchId;

    public Integer getId() {
        return id;
    }

    public String getAppid() {
        return appid;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public String getAppName() {
        return appName;
    }

    public Integer getStatus() {
        return status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public String getAppType() {
        return appType;
    }

    public Float getProfit() {
        return profit;
    }

    public Float getCut() {
        return cut;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public void setProfit(Float profit) {
        this.profit = profit;
    }

    public void setCut(Float cut) {
        this.cut = cut;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }

    public Integer getMchId() {
        return mchId;
    }

    public void setMchId(Integer mchId) {
        this.mchId = mchId;
    }
}
